package com.zl.learning.db.postgresql.huidiao;

import org.junit.Test;

import java.util.function.Function;

/**
 * Created by zhaolei on 2017/6/18.
 */
public class TestHuiDiao {


    public String getName(Function<Integer,String> function){
        return function.apply(null);
    }

    @Test
    public void test1(){

        String name = getName((a)-> "b");
        System.out.println(name);
    }
}
